package com.youge.service.impl;

import com.youge.entity.MonthLucky;
import com.youge.mapper.MonthLuckyMapper;
import com.youge.service.IMonthLuckyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: hcf
 * @qq: 46914685
 * @email: 46914685@qq.com
 * @date: 2020/12/21 21:15
 */
@Service
public class MonthLuckyServiceImpl implements IMonthLuckyService {

    @Autowired
    private MonthLuckyMapper monthLuckyMapper;

    @Override
    public List<MonthLucky> selectMonthLuckyList(MonthLucky monthLucky) {
        return monthLuckyMapper.selectMonthLuckyList(monthLucky);
    }

    @Override
    public MonthLucky selectMonthLuckyById(Integer id) {
        return monthLuckyMapper.selectMonthLuckyById(id);
    }
}
